package com.accp.entity;

import java.sql.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import lombok.Data;
@Data
public class Hotevents {
		@TableId(value="id",type=IdType.AUTO)
		private int id;
		@TableField(value="keyWord")
		private String keyWord;
		@TableField(value="hotContent")
		private String hotContent;
		@TableField(value="searchSum")
		private int searchSum;
		@TableField(value="createDate")
		private Date createDate;
		@TableField(exist=false)
		private List<Comments> comments;
		@Override
		public String toString() {
			return "Hotevents [id=" + id + ", keyWord=" + keyWord + ", hotContent=" + hotContent + ", searSum="
					+ searchSum + ", createDate=" + createDate + "]";
		}
}
